package com.freemodbus4j.network.handler;

import com.freemodbus4j.core.frame.ModbusFrame;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@ChannelHandler.Sharable
public class ModbusResponseHandler extends ModbusInboundHandler {

    private Logger logger = LoggerFactory.getLogger(ModbusResponseHandler.class);

    @Override
    protected void channelRead0(ChannelHandlerContext channelHandlerContext, Object o) throws Exception {
        logger.debug("读取到消息,msg={}",o);
    }


}
